/*
	SafeZone inherits from the Fixed class.
	A SafeZone piece protects any pieces from being captured
	that are on its square.  SafeZones cannot be captured or destroyed.
*/

class SafeZone extends Fixed{
	//Constructor for SafeZone construction
	public SafeZone(String owner, String xCoord, String yCoord, String zCoord, int dir)
	{
	//Call parent constructor
	super(owner, xCoord, yCoord, zCoord);
	isVisible = true; //SafeZones are visible on the board, so set to true
	jumpable = false; //SafeZones cannot be jumped
	passable = true; //SafeZones can be moved through
	explodeOnEnemyContact = false; //SafeZones do not explode
	destroyEnemyOnContact = false; //SafeZones do not destroy
	safeOnContact = true; //SafeZones protect pieces that contact it
	direction = dir;
	}
}